home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Apr 89 / T0039-AsyncSound-Apr89 < prev    next >
Encoding:
Text File  |  1989-04-26  |  1.0 KB  |  27 lines  |  [TEXT/GEOL]

  1. Item    9992054                         25-April-89        18:32
  2.  
  3. From:   ROSENSTEIN1                     Rosenstein, Larry
  4.  
  5. To:     D0771                           Neal Goldstein Design, PRT
  6.         X0131                           Animatrix, Marney Morris
  7.         MACAPP.ADMIN                    Design Methodology, Joel Norvell
  8.         FRIEDRICH1                      Friedrich, Steve
  9.  
  10. Sub:    AsyncSound
  11.  
  12. I am sending a copy of the asynchronous sound unit.  I've used this
  13. successfully in a program that plays snd resources from any file, and it seem
  14. to works.  I'm not really a Sound Manager expert, so I don't guarantee it is
  15. 100% correct.
  16.  
  17. It should be self-explanatory.  After initializing the unit, use AsyncSndPlay
  18. instead of SndPlay.  Note that this locks the sound resource down while it is
  19. playing.  To be friendly, you should dispose of the sound channel as soon as
  20. you no longer need it (by calling StopAsynchSound).  IsSoundPlaying will call
  21. StopAsynchSound when the sound is done.
  22.  
  23. Let me know if you find any problems.
  24.  
  25. Larry
  26.  
  27.